package xyz.lilei23.framework.annotation;

import java.lang.annotation.*;

/**
 * @author jack
 * @date 31/07/2021 16:20
 * @version 1.0
 **/
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AutoWired {

    /**
     * Declares whether the annotated dependency is required.
     * <p>Defaults to {@code true}.
     */
    boolean required() default true;
}
